package yzserver.sx4a.domain;


import yzserver.sx4a.domain.JobDomain;
import yzserver.sx4a.form.Role;

/**
 * Created with IntelliJ IDEA.
 * User: andrew
 * Date: 14-8-15
 * Time: 上午10:20
 * To change this template use File | Settings | File Templates.
 */
public class RoleDomain {
    private String ROLEID;//角色id
    private String ROLENAME;//     角色名称
    private String ROLEPARENT;//  上级角色编号 用于存放权限树形结构 无树结构可赋值为空
    private String PERMISSIONID;// 权限id，根据应用需求定义是否需要    规则（以@分隔）
    private String ROLEDES;//      角色描述
    private String REGIONID;//     地市代码(BOSS用)
    private String LOGINNO;//      操作BOSS工号(BOSS用)
    private String OPERATECODE;//  操作代码(BOSS用)
    private String GROUPID;//      组织机构编码(BOSS用)
    private String ROLETYPE;//     角色类型(BOSS用)
    private String USEFLAG;//      有效标志(BOSS用)
    private String OPERATENOTE;//  操作备注(BOSS用)



    public RoleDomain(Role role) {
        this.ROLEID = role.getRoleid();
        this.ROLENAME = role.getRolename();
        this.ROLEPARENT = role.getRoleparent();
        this.PERMISSIONID = role.getPermissionid();
        this.ROLEDES = role.getRoledes();
        this.REGIONID = role.getRegionid();
        this.LOGINNO = role.getLoginno();
        this.OPERATECODE = role.getOperatecode();
        this.GROUPID = role.getGroupid();
        this.ROLETYPE = role.getRoletype();
        this.USEFLAG = role.getUseflag();
        this.OPERATENOTE = role.getOperatenote();
    }

    public RoleDomain() {

    }

    public String getROLEID() {
        return ROLEID;
    }

    public void setROLEID(String ROLEID) {
        this.ROLEID = ROLEID;
    }

    public String getROLENAME() {
        return ROLENAME;
    }

    public void setROLENAME(String ROLENAME) {
        this.ROLENAME = ROLENAME;
    }

    public String getROLEPARENT() {
        return ROLEPARENT;
    }

    public void setROLEPARENT(String ROLEPARENT) {
        this.ROLEPARENT = ROLEPARENT;
    }

    public String getPERMISSIONID() {
        return PERMISSIONID;
    }

    public void setPERMISSIONID(String PERMISSIONID) {
        this.PERMISSIONID = PERMISSIONID;
    }

    public String getROLEDES() {
        return ROLEDES;
    }

    public void setROLEDES(String ROLEDES) {
        this.ROLEDES = ROLEDES;
    }

    public String getREGIONID() {
        return REGIONID;
    }

    public void setREGIONID(String REGIONID) {
        this.REGIONID = REGIONID;
    }

    public String getLOGINNO() {
        return LOGINNO;
    }

    public void setLOGINNO(String LOGINNO) {
        this.LOGINNO = LOGINNO;
    }

    public String getOPERATECODE() {
        return OPERATECODE;
    }

    public void setOPERATECODE(String OPERATECODE) {
        this.OPERATECODE = OPERATECODE;
    }

    public String getGROUPID() {
        return GROUPID;
    }

    public void setGROUPID(String GROUPID) {
        this.GROUPID = GROUPID;
    }

    public String getROLETYPE() {
        return ROLETYPE;
    }

    public void setROLETYPE(String ROLETYPE) {
        this.ROLETYPE = ROLETYPE;
    }

    public String getUSEFLAG() {
        return USEFLAG;
    }

    public void setUSEFLAG(String USEFLAG) {
        this.USEFLAG = USEFLAG;
    }

    public String getOPERATENOTE() {
        return OPERATENOTE;
    }

    public void setOPERATENOTE(String OPERATENOTE) {
        this.OPERATENOTE = OPERATENOTE;
    }
}
